const mongoose = require('../db.js');
const Schema = mongoose.Schema;

let schema = new mongoose.Schema({
    name: {
        type: String,
        required: true,
    },

    value: {
        type: String,
        required: true,
    },
    
    createTime: {
        type: String,
        required: true,
    },
})

let dictModel = mongoose.model('dict', schema)

module.exports = dictModel

